package com.byzk.p2p.admin.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.byzk.p2p.admin.system.dto.Resource;
import com.byzk.p2p.admin.system.vo.ResourceVo;

public interface ResourceDao {

	public Integer insert(Resource resource);

	public Resource getResourceById(Integer id);
	
	public List<ResourceVo> getResourcesById(List<Integer> idsList);
	
	public Integer delete(@Param(value="resourceId")Integer resourceId);
}
